// ActionScript file
package sww.dto
{

	//Javaと共通のクラスを使うためにJava側にも同等のクラスを用意する。
	//alias="Java側のクラス"
	[RemoteClass(alias="jp.ac.aiit.yc.sww.database.dto.DrawDto")]

	public class DrawData {

			private var drawThickness:Number;
			private var drawColor:Number;

			private var xy:String;
			private var lastXpoint:Number;
			private var lastYPoint:Number;

			function DrawData(){
				this.xy = new String();
			}

			public function get thickness():Number {
				return this.drawThickness;
			}
			public function set thickness(thickness:Number):void {
				this.drawThickness = thickness;
			}

			public function get color():Number {
				return this.drawColor;
			}
			public function set color(col:Number):void {
				this.drawColor = col;
			}

			public function get points():String {
				return this.xy;
			}

			public function set points(points:String):void {
				this.xy = points;
			}

			public function get lastX():Number {
				return this.lastXpoint;
			}
			public function set lastX(x:Number):void {
				this.lastXpoint = x;
			}

			public function get lastY():Number {
				return this.lastYPoint;
			}
			public function set lastY(y:Number):void {
				this.lastYPoint = y;
			}

	}
}